
import request from '@/utils/request'

// 查询
export function chat(model, messagesOne, messageTwo) {

    const requestBody = {
        model: "moonshot-v1-8k",
        messages: [
            { role: "system", content: "你是kimi AI" },
            { role: "user", content: messageTwo }
        ]
    };

    return request({
        url: '/chat/kimichat',
        method: 'post',
        data: requestBody
    })
}
